package com.ruoyi.shopping.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城轮播图对象 jy_mall_swiper
 *
 * @author ruoyi
 * @date 2022-06-17
 */
@ApiModel
public class MallSwiper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片")
    private String imgSrc;

    /** 是否使用 */
    @Excel(name = "是否使用")
    @ApiModelProperty(value = "是否使用")
    private String showState;

    /** 展示几秒钟 */
    @Excel(name = "展示几秒钟")
    @ApiModelProperty(value = "展示几秒钟")
    private Long showTime;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgSrc(String imgSrc)
    {
        this.imgSrc = imgSrc;
    }

    public String getImgSrc()
    {
        return imgSrc;
    }
    public void setShowState(String showState)
    {
        this.showState = showState;
    }

    public String getShowState()
    {
        return showState;
    }
    public void setShowTime(Long showTime)
    {
        this.showTime = showTime;
    }

    public Long getShowTime()
    {
        return showTime;
    }

    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgSrc", getImgSrc())
            .append("showState", getShowState())
            .append("showTime", getShowTime())
            .append("orderNum", getOrderNum())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
